package edu.dublbo.app.generator.result;

import lombok.Builder;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * 分页结果返回类
 *
 * @author habitplus
 * @since 2023/3/6 5:58
 */
@Getter
@Setter
@Builder
@Data
public class PageResult<T> {
    private int page;
    private int limit;
    private List<T> data;
    private int code;
    private String msg;
    private long count;
}
